﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace RestaurantWebService
{
    public enum OrderStatus
    {
        Placed,
        Ready,
        Delivered
    }

    public class Order
    {
        #region "Variables"
        private int orderNumber;
        private int tableNumber;
        private int seatNumber;
        private string waiterName;
        private Meal meal;
        private DateTime orderTime;
        private OrderStatus status;
        #endregion

        #region "Properties"
        public int OrderNumber
        {
            get { return orderNumber; }
            set { orderNumber = value; }
        }
        public int TableNumber
        {
            get { return tableNumber; }
            set { tableNumber = value; }
        }
        public int SeatNumber
        {
            get { return seatNumber; }
            set { seatNumber = value; }
        }
        public string WaiterName
        {
            get { return waiterName; }
            set { waiterName = value; }
        }
        public Meal Meal
        {
            get { return meal; }
            set { meal = value; }
        }
        public DateTime OrderTime
        {
            get { return orderTime; }
            set { orderTime = value; }
        }
        public OrderStatus Status
        {
            get { return status; }
            set { status = value; }
        }
        #endregion
    }
}